//
//  SEGIntegralExchangeConfirmModel.m
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/6/1.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import "SEGIntegralExchangeConfirmModel.h"

@implementation SEGIntegralExchangeConfirmModel

- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
        [self setValue:[dictionary objectForKey:@"distribution"] forKey:@"type"];
    }
    return self;
}
-(instancetype)init
{
    self = [super init];
    if (self) {
        _imgUrl = @"";
        _name = @"";
        _coins = @"";
        _type = @"";
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}

- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
@end
